package com.nhncorp.example.concurrent;

public class Main {
	static final int NUM = 5;
	static int Global = 0;
	
	public static void main(String[] args) {
/*		Adder[] threads = new Adder[NUM]; 		
		
		for (int  cnt = 0; cnt < 10; cnt++) {	
			Global = 0;		
			threads[0] = new Adder(1);
			threads[1] = new Adder(10);
			threads[2] = new Adder(100);
			threads[3] = new Adder(1000);
			threads[4] = new Adder(10000);
			
			for (int i = 0; i < NUM; i++) {
				threads[i].start(); 
			}
				
			try { Thread.sleep(10); }
			catch (Exception exc) {}
			System.out.println(Global); 		 			
		}*/
	}
}
